package com.csu.petstore.service;

import com.csu.petstore.pojo.Account;
import com.csu.petstore.pojo.Profile;
import org.springframework.stereotype.Service;
import org.springframework.validation.BindingResult;

@Service
public interface AccountAndProfileService {
    public String ExceptionHandlerOfAccount(BindingResult bindingResult, Account account);
    public void setAccountAndProfileMsg(Account account, Profile profile);
    public Account getAccountByUserId(String userid);
    public Profile getProfileBYUserId(String userid);
    public void deleteByUserId(String userid);
}
